#ifndef __MIXER_SCALE_H__
#define __MIXER_SCALE_H__

#include <libhardware2/rmem.h>
#include <libhardware2/fb.h>
#include <libhardware2/fb_layer_mixer.h>
#include <libmedia/video_display_mode.h>

struct  mixer_scale_in_param {
    struct lcdc_layer layer;
};

struct  mixer_scale_out_param {
    struct fb_layer_mixer_output_cfg cfg;
};

extern void mixer_scale_out_uninit(void);
extern int mixer_scale_out_init_param(struct mixer_scale_out_param* out_param);
extern int mixer_scale_update_in_param(struct video_frame* frame);
extern int mixer_scale_work_out_one_frame(void);

#endif